import {t, api, message, bs} from "@/service/index.js"


export default {
    url: {
        toLocal: "/file/toLocal",
        uploadStrategy: "/file/uploadStrategy",

        uploadLocalBatch: "/file/uploadLocalBatch",
        uploadStrategyBatch: "/file/uploadStrategyBatch"
    },
    toLocal(data) {
        return api.upload(this.url.toLocal, data)
    },
    uploadStrategy(data) {
        return api.upload(this.url.uploadStrategy, data)
    },


    uploadLocalBatch(data) {
        return api.upload(this.url.uploadLocalBatch, data)
    },
    uploadStrategyBatch(data) {
        return api.upload(this.url.uploadStrategyBatch, data)
    },
}